package com.imooc.demo.service.impl;

import com.imooc.demo.dao.OrderDetailDao;
import com.imooc.demo.entity.OrderDetail;
import com.imooc.demo.service.OrderDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderDetailServiceImpl implements OrderDetailService {
    @Autowired
    OrderDetailDao orderDetailDao;

    @Override
    public boolean orderDetailInsert(OrderDetail orderDetail) {
        return orderDetailDao.orderDetailInsert(orderDetail);
    }
}
